package com.bdqn.membersystem.servicce.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.bdqn.membersystem.pojo.UserCash;
import com.bdqn.membersystem.mapper.UserCashMapper;
import com.bdqn.membersystem.servicce.UserCashService;
@Service
public class UserCashServiceImpl implements UserCashService{

    @Resource
    private UserCashMapper userCashMapper;

    @Override
    public int deleteByPrimaryKey(String cashId) {
        return userCashMapper.deleteByPrimaryKey(cashId);
    }

    @Override
    public int insertSelective(UserCash record) {
        return userCashMapper.insertSelective(record);
    }

    @Override
    public UserCash selectByPrimaryKey(String cashId) {
        return userCashMapper.selectByPrimaryKey(cashId);
    }

    @Override
    public int updateByPrimaryKeySelective(UserCash record) {
        return userCashMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateBatch(List<UserCash> list) {
        return userCashMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<UserCash> list) {
        return userCashMapper.batchInsert(list);
    }

    @Override
    public int insertOrUpdate(UserCash record) {
        return userCashMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(UserCash record) {
        return userCashMapper.insertOrUpdateSelective(record);
    }

}
